import { service } from '../service/request'

//登录
export async function Login(data: any) {
  return await service({
    url: 'API/Login/Login',
    method: 'post',
    data
  })
}
//登录-下拉框
export async function GetValue(data: any) {
  return await service({
    url: 'API/Login/Query',
    method: 'post',
    data
  })
}

//查询
export async function Query(data: any) {
  return await service({
    url: 'API/Main/Query',
    method: 'post',
    data
  })
}

//保存
export async function Operate(data: any) {
  return await service({
    url: 'API/Main/Operate',
    method: 'post',
    data
  })
}


